<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" 
	  xmlns:ui="http://java.sun.com/jsf/facelets" 
	  xmlns:h="http://java.sun.com/jsf/html" 
	  xmlns:f="http://java.sun.com/jsf/core" 
	  xmlns:p="http://primefaces.org/ui"> 
	<ui:composition template="../template/template.xhtml"> 
		<ui:define name="title"> 
			<h:outputText value="#{msg.reino_title}"/> 
		</ui:define> 
		<ui:define name="context"> 
			<h:form> 
				<h:panelGrid columns="2"> 
					<p:commandButton value="#{msg.button_search}" ajax="false" action="#{categoryMB.testeBotao}"/> 
				</h:panelGrid> 
			</h:form>  
		</ui:define>
		
		<p:dialog widgetVar="dlg" modal="true" closable="true" header="#{msg.reino_header}" > 
			<h:form id="formCad"> 
				<h:panelGrid columns="2"> 
					<h:outputText value="#{msg.reino_reino}"/> 
					<p:inputText value="#{reinoMB.entity.reino}"/> 
				</h:panelGrid> 
				<p:column> 
					<p:commandButton value="#{msg.button_save}" action="#{reinoMB.saveOrUpdate}" ajax="false"/> 
					<p:commandButton value="#{msg.button_cancel}" onclick="dlg.hide();" actionListener="#{reinoMB.cancel}"/> 
				</p:column> 
			</h:form> 
		</p:dialog> 
	</ui:composition> 
</html>